third-party-prc-api icon

third-party-prc-api

(0 reviews)

Print Customer Court Cases

URLS:

Description : This API returns the file information in encoded format based on customer profile. The pdfToken being passed in URI parameter.

Channels can consume Mulesoft’s REST API exposed as an experience API.

Mulesoft Request:

Mandatory Headers: x-correlation-id, client_id, client_secret, x-channel-id, x-bank-id

Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, Authorization

Headers

Below headers are need to be sent to all the qbank endpoints

HeaderNameHeaderTypeOptional?
acceptapplication/jsonMandatory
content-typeapplication/jsonMandatory
charsetutf-8Mandatory
AuthorizationBasicMandatory

Mulesoft Response:

Success Response: (200)

Response Body: application/json

{
    "status": {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
    },
    "response": {
        "file": "JVBERi0xLjYNJeLjz9MNCjE3IDAgb2JqDTw8L0xpbmVhcml6ZWQgMS9MIDMwNzcwL08gMTkvRSAyNjM4Ny9OIDEvVCAzMDQ2Ny9IIFsgNDM4IDE0OF0+Pg1lbmRvYmoNICAgICAgICAgICAgICAgICAgDQoyMiAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDMwODU2OEJCMUU5RTQ4NDNCMUNFRjc0OUYyQUQyMkVEPjw5OUI0NDU1MkRCQ0U2MjRFQTgzMTQwRTZFMUE5M0I3MT5dL0luZGV4WzE3IDddL0luZm8gMTYgMCBSL0xlbmd0aCAzNi9QcmV2IDMwNDY4L1Jvb3QgMTggMCBSL1NpemUgMjQvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJkEGBiYLJiYmAIZmJgPA/E05gY/hQBaSeAAAMAJV8Dxw0KZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNCjANCiUlRU9GDQogICAgICAgIA0KMjMgMCBvYmoNPDwvQyA2Ny9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA4OS9MZW5ndGggNjQvUyAzNj4+c3RyZWFtDQpo3mJgYGBmYGDiZACClDIGTMDCwIHEY4ZiBoZpDPwMRQzMwjdAHEYGhrOpEJpRAEkrw50aiCjDLYAAAwDmigZ8DQplbmRzdHJlYW0NZW5kb2JqDTE4IDAgb2JqDTw8L01ldGFkY"

    }
}

Sample Error Response:

Error codes :

400:

content-type: JSON

{
    "status": {
        "success": false,
        "code": "400",
        "reasonCode": "BadRequest",
        "arabicMessage": "لم يتم العثور على سجلات تطابق محددات البحث",
        "englishMessage": "No records were found that matched the selection criteria",
        "backendError": "No records were found that matched the selection criteria",
        "backendCode": "T24003790"
    }

Reviews